package com.chen.integral.module.integral.service;

import com.chen.base.module.base.dto.Response;
import com.chen.base.module.base.service.BaseService;
import com.chen.entity.integral.IntegralBalance;

import java.math.BigDecimal;

/**
 * @Title: manager-spring-mvc-hb
 * @Description: to do
 * @Author: chenjiwei
 * @Date: 2020-11-16 23:28
 * @Version: 1.0.0
 */
public interface IntegralBalanceService<T> extends BaseService<T> {
    Response addPoint(BigDecimal balance, String userId);
    IntegralBalance queryByUserId(String userId);
}
